﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NPSoft.Ferrero.DataBridge.DAL;
using NPSoft.Ferrero.DataBridge.Model;
using NPSoft.Ferrero.Framework.BLL;
using NPSoft.Ferrero.Framework.Crosscutting;

namespace NPSoft.Ferrero.DataBridge.BLL
{
    public class New_Mapped_StoreService : IBLL<New_Mapped_Store>
    {
        public string Add(New_Mapped_Store info)
        {
            throw new NotImplementedException();
        }

        public string Edit(New_Mapped_Store info)
        {
            throw new NotImplementedException();
        }

        public New_Mapped_Store GetById(long id)
        {
            throw new NotImplementedException();
        }

        public New_Mapped_Store GetById(Guid id)
        {
            throw new NotImplementedException();
        }

        public string Remove(New_Mapped_Store info)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="condtion"></param>
        /// <returns></returns>
        [UserLog]
        public ICollection<New_Mapped_Store> Search(StringBuilder condtion)
        {
            try
            {
                New_Mapped_StoreUtil util = new New_Mapped_StoreUtil();
                return util.SearchCollection(condtion);
            }
            catch (Exception)
            {

                throw;
            }
        }
    }
}
